from typing import Optional
from datetime import date
from pydantic import BaseModel, Field

class SponsorContactItem(BaseModel):
    sponsor_contact_id: int = Field(..., alias="sponsor_contact_id")
    sponsor_id: int
    title: Optional[str] = None
    first_name: Optional[str] = None
    last_name: Optional[str] = None
    position_title: Optional[str] = None
    phone: Optional[str] = None
    ec: Optional[str] = None
    gm: Optional[str] = None
    kc: Optional[str] = None
    ss: Optional[str] = None
    lk: Optional[str] = None
    inv: Optional[str] = None
    aa: Optional[str] = None
    bb: Optional[str] = None
    mobile: Optional[str] = None
    fax: Optional[str] = None
    email: Optional[str] = None
    website: Optional[str] = None
    last_updated: Optional[date] = None
    archive: Optional[str] = None
    hidden: Optional[str] = None

    class Config:
        from_attributes = True
        populate_by_name = True